package com.lyf.scm.plan.domain.service;

import com.github.pagehelper.PageInfo;
import com.lyf.scm.common.model.ExcelExportDataDTO;
import com.lyf.scm.plan.api.dto.EChartsDTO;
import com.lyf.scm.plan.api.dto.SalePlanDirectlyDifferinDTO;
import com.lyf.scm.plan.api.dto.SalesPlanDirectlyAccuracyDTO;
import com.lyf.scm.plan.api.dto.SalesPlanDirectlyAccuracyInfoDTO;

import javax.servlet.http.HttpServletResponse;

/**
 * 直营预测计划_销售计划准确率
 *
 * @author wangchlei
 * @date 2020/08/13
 */
public interface SalesPlanDirectlyAccuracyService {
    /**
     * 按条件查询直营预测计划_销售计划准确率(周)
     *
     * @param salesPlanDirectlyAccuracyDTO
     * @return {@link PageInfo < SalePlanDirectlyDifferinInfoDTO >}
     **/
    PageInfo<SalesPlanDirectlyAccuracyInfoDTO> listWeekBySelective(SalesPlanDirectlyAccuracyDTO salesPlanDirectlyAccuracyDTO);
    /**
     * 图表数据接口
     *
     * @param salesPlanDirectlyAccuracyDTO
     * @return {@link EChartsDTO}
     **/
    EChartsDTO eChartsData(SalesPlanDirectlyAccuracyDTO salesPlanDirectlyAccuracyDTO);

    ExcelExportDataDTO export(SalesPlanDirectlyAccuracyDTO salesPlanDirectlyAccuracyDTO, Integer type);

    /**
     * 删除对应标识数据
     *
     * @param opSign
     */
    void delete(String opSign);
}
